$(function() {
	$('#start').datetimepicker({
		lang:'ch',
		format:'Y-m-d H:i',
		formatDate:'Y-m-d',
		formatTime: 'H:i'//格式化时间
	});
	$('#end').datetimepicker({
		lang:'ch',
		format:'Y-m-d H:i',
		formatDate:'Ymd',
		formatTime: 'H:i'//格式化时间
	});
	var $radios = $('[name="isContinue"]');
    $radios.on('change',function() {
    	$("input[name='isContinue']").parent().addClass("am-active").removeClass("am-active");
    	if($radios.filter(':checked').val() == 1){
    		$("#option1").parent().addClass("am-active");
    	}else{
    		$("#option2").parent().addClass("am-active");
    	}
    });
});